package model

import "github.com/jinzhu/gorm"

type Interactive struct {
	gorm.Model
	Uid uint `gorm:"not null"`
	Vid uint `gorm:"not null"`
	IsFavorite bool `gorm:"default:false"`//是否收藏
	IsLike bool `gorm:"default:false"`//是否点赞
	Video Video `gorm:"ForeignKey:id;AssociationForeignKey:vid"`
}

